package com.neusoft.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neusoft.entity.common.PageBookClass;
import com.neusoft.entity.common.PageBookName;
import com.neusoft.entity.model.BookByClass;
import com.neusoft.entity.model.BookCustom;
import com.neusoft.mapper.modelmapper.BookInvMapper;

@Service
public class BookInvServiceImpl implements BookInvMapper {

	@Autowired
	BookInvMapper bookInvMapper;

	@Override
	public List<BookCustom> findBookCustomsByBName(PageBookName page) throws Exception {
		return bookInvMapper.findBookCustomsByBName(page);
	}

	@Override
	public List<BookByClass> findBookByClass(PageBookClass page) throws Exception {
		return bookInvMapper.findBookByClass(page);
	}

}
